<?php
//注销登录
header("Content-Type: text/html;charset=utf-8");
$_SESSION['admin_id']="";
$_SESSION['admin_name']="";
$_SESSION['username']="";

setcookie('ECSCP[admin_id]',   '', time() - 1,'/');
setcookie('ECSCP[admin_pass]', '', time() - 1,'/');

echo "<script language='javascript'>alert('注销登录成功！');location='../gate/index.php';</script>";
?>